import styled from "styled-components";
import { primaryColor } from "../../../static/config/color";
export const ShopHeader = styled.div`
  padding: 10px 20px;
  background-color: ${primaryColor};
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size:14px;
  .city{
    color: #ffffff;
  }
  .search {
    flex: 1;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    padding: 5px;
    text-align: left;
    margin-left: 10px;
    margin-right: 10px;
    input {
      width: 100%;
      border: 0;
    }
  }
`;
export const AdListUlWrap = styled.div`
margin-top:10px;
width:100%;
background-color:#fff;
h2 {
    font-size: 16px;
    font-weight: 700;
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
}
.ad-container {
    width: 100%;
    padding: 10px 15px;
    display:flex;
    flex-wrap:wrap;
}
.ad-item {
    width: 33.3%;
    /* height: 140px; */
    padding: 5px;
    border-radius:10px;
    overflow:hidden;
    img {
        border-radius:5px;
    overflow:hidden;
        width: 100%;
        height: 100%;
    }
}
`;
export const LikeListWrap= styled.div`
margin-top:10px;
width:100%;
background-color:#fff;
h2 {
    font-size: 16px;
    font-weight: 700;
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
}
 .listItem{
    min-height: 1rem;
      /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); */
      border-bottom:1px solid rgba(0, 0, 0, 0.1);
      margin-bottom: 0.3rem;
      padding: 0.1rem;
      display: flex;
      &:last-child{
        margin-bottom:0
      }
      .imgBox {
        width: 1.6rem;
        height: 1.6rem;
        margin-right: 0.1rem;
        overflow: hidden;
        border-radius: 0.1rem;
      }
      .listContent {
        flex: 1;
        .title {
          font-size: 18px;
          font-weight: 700;
          color: #333;
          overflow: hidden;
          -o-text-overflow: ellipsis;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          line-height: 25px;
          max-height: 50px;
          -webkit-box-sizing: content-box;
          -moz-box-sizing: content-box;
          box-sizing: content-box;
          white-space: normal;
        }
        .details {
          margin-top: 6px;
          font-size: 13px;
          line-height: 1.5;
          color: #999;
          overflow: hidden;
          -o-text-overflow: ellipsis;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          line-height: 19px;
          max-height: 38px;
          -webkit-box-sizing: content-box;
          -moz-box-sizing: content-box;
          box-sizing: content-box;
          white-space: normal;
        }
        .more{
          padding :10px 0;
          font-size:14px;
          color:#999
        }
      }
 }
`;
export const AdListItem= styled.div`
 .listItem{
    min-height: 1rem;
      /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); */
      border-bottom:1px solid rgba(0, 0, 0, 0.1);
      margin-bottom: 0.3rem;
      padding: 0.1rem;
      display: flex;
      &:last-child{
        margin-bottom:0
      }
      .imgBox {
        width: 1.6rem;
        height: 1.6rem;
        margin-right: 0.1rem;
        overflow: hidden;
        border-radius: 0.1rem;
      }
      .listContent {
        flex: 1;
        .title {
          font-size: 18px;
          font-weight: 700;
          color: #333;
          overflow: hidden;
          -o-text-overflow: ellipsis;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          line-height: 25px;
          max-height: 50px;
          -webkit-box-sizing: content-box;
          -moz-box-sizing: content-box;
          box-sizing: content-box;
          white-space: normal;
        }
        .details {
          margin-top: 6px;
          font-size: 13px;
          line-height: 1.5;
          color: #999;
          overflow: hidden;
          -o-text-overflow: ellipsis;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          line-height: 19px;
          max-height: 38px;
          -webkit-box-sizing: content-box;
          -moz-box-sizing: content-box;
          box-sizing: content-box;
          white-space: normal;
        }
        .more{
          padding :10px 0;
          font-size:14px;
          color:#999
        }
      }
 }
`;